
/**
 * 路由表
 */

import Index from './components/index/index';

export default function ( router ) {
	
	router.map({
		'/': {
			component: Index
		},
		'/supermarket': {
			component: function ( resolve ) {
				require(['./components/supermarket/supermarket'], resolve)
			}
		},
		'*': {
			component: function ( resolve ) {
				require(['./components/notFile'], resolve)
			}
		}
	});
	
}
